#pragma once
#include "stdafx.h"
#include "Element.h"
#include <boost/shared_ptr.hpp>
#include "RelationBuffer.h"
#include "BufferConstraint.h"
class ElementIterator;
class SetElementIterator;
class RelationSynopsis
{
private:

	boost::shared_ptr<RelationBuffer>buffer;
public:
	RelationSynopsis(void);
	~RelationSynopsis(void);
	void insertElement(Element& element);
	void deleteElement(Element& element);

	bool isFull(void);
	friend class ElementIterator;
	friend class SetElementIterator;
};